package com.lfz.task.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix = "aliyun.sms")
@Component
public class MoblieMessageProperties {

    private String url;

    private String appKey;

    private String secret;

    private String smsType;

    private String smsFreeSignname;

    private String smsTemplateCode;

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getSmsType() {
        return smsType;
    }

    public void setSmsType(String smsType) {
        this.smsType = smsType;
    }

    public String getSmsFreeSignname() {
        return smsFreeSignname;
    }

    public void setSmsFreeSignname(String smsFreeSignname) {
        this.smsFreeSignname = smsFreeSignname;
    }

    public String getSmsTemplateCode() {
        return smsTemplateCode;
    }

    public void setSmsTemplateCode(String smsTemplateCode) {
        this.smsTemplateCode = smsTemplateCode;
    }

    @Override
    public String toString() {
        return "MoblieMessageProperties{" +
                "url='" + url + '\'' +
                ", appKey='" + appKey + '\'' +
                ", secret='" + secret + '\'' +
                ", smsType='" + smsType + '\'' +
                ", smsFreeSignname='" + smsFreeSignname + '\'' +
                ", smsTemplateCode='" + smsTemplateCode + '\'' +
                '}';
    }
}
